net: davinci_emac: Invalidate only the received portion of a buffer
authorkarl beldan <[email protected]>
Mon, 15 Aug 2016 17:23:01 +0000 (17:23 +0000)
committerJoe Hershberger <[email protected]>
Mon, 22 Aug 2016 19:21:13 +0000 (14:21 -0500)
commita51897b6c1e517ea2ce95da59784e84c5992dd00
tree95c7a2f607dab53ebb4f16bfc57598b9fd9aae32
parent6202b8f28c10977a9533ba4c49574b136a64ce82
net: davinci_emac: Invalidate only the received portion of a buffer

ATM when receiving a packet the whole buffer is invalidated, this change
optimizes this behaviour.

Signed-off-by: Karl Beldan <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Mugunthan V N <[email protected]>
drivers/net/davinci_emac.c